package cd.tinet.finalexam.ejb.rooms;

import javax.ejb.Remote;

import cl.tinet.finalexam.exceptions.ReserveCollitionException;
import cl.tinet.finalexam.exceptions.ReserveNotFoundException;
import cl.tinet.finalexam.exceptions.RoomFoundException;
import cl.tinet.finalexam.exceptions.RoomNotFoundException;
import cl.tinet.finalexam.exceptions.UserNotFoundException;
import cl.tinet.finalexam.model.ClassroomModel;
import cl.tinet.finalexam.model.ReserveModel;
import cl.tinet.finalexam.model.UserModel;

@Remote
public interface RoomsBeanInterface {

    /**
     * 
     * Añadir Pieza.
     *
     * @param roomToAdd
     */
   public void addRoom(ClassroomModel roomToAdd);
   
   /**
    * 
    * Remover pieza.
    *
    * @param roomToRemove
    * @throws RoomFoundException
    */
   void removeRoom(ClassroomModel roomToRemove) throws RoomFoundException;
}
